package com.zrkizzy.seckill.exception;

import com.zrkizzy.seckill.enums.HttpStatusEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 用户未登录异常
 *
 * @author zhangrongkang
 * @since 2023/4/11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
public class NoLoginException extends RuntimeException {

    private HttpStatusEnum httpStatusEnum = HttpStatusEnum.USER_EXIST_ERROR;
}
